package org.example.config;

import feign.Logger;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.context.annotation.Bean;

/**
 * @Author: 以默
 * @Date: 2024/7/29 15:06
 */
@FeignClient(value = "userservice", configuration = DefaultFeignConfiguration.class)
public class DefaultFeignConfiguration  {
    @Bean
    public Logger.Level feignLogLevel(){
        return Logger.Level.BASIC; // 日志级别为BASIC
    }
}
